﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Data;
using COP.Extensions;
using COP.Extractors;



namespace COP.Objects.Config
{
    public class OneToOneConfig : BooleanConfig
    {
        public OneToOneConfig(IExtractor extractor) : base(TagType.OneToOne, extractor) { }


        protected override bool IsConfigKeyMandate
        {
            get
            {
                return true;
            }
        }

        public override object PullValue()
        {
            return this.Maps[0].Value;
        }
    }
}
